package com.ibsol.service
{
	import com.ibsol.database.UserDAO;
	
	import mx.collections.ArrayCollection;
	
	public class UserService{
		
		private var userDAO:UserDAO;
		
		public function UserService(){
			userDAO=new UserDAO();
		}
		
		/**
		 * 得到当前系统登录用户
		 * @ param sid 系统信息编号
		 **/
		 public function getUserListBySystemId(sid:int):ArrayCollection{
		 	var userList:ArrayCollection=new ArrayCollection();
		 	this.userDAO.getUserListBySystemId(function (arrTemp:ArrayCollection):void{
		 		userList=arrTemp;
		 	});
		 	return userList;
		 }

	}
}